package com.maijinjie.common.action.dwz.bean;

/**
 * 描述：DWZ服务器返回的状态BEAN<br>
 * 作者：王欣逸 100992995@qq.com<br>
 * 创建时间：2013年11月16日 下午4:30:02<br>
 * 版本：v1.0<br>
 */
public class DwzStatusBean {
	/** 状态码 */
	private int statusCode;
	/** 消息 */
	private String message;
	/** 服务器转回navTabId可以把那个navTab标记为reloadFlag=1, 下次切换到那个navTab时会重新载入内容 */
	private String navTabId;
	/** 暂时未知做什么用 */
	private String rel;
	/** callbackType如果是closeCurrent就会关闭当前tab */
	private String callbackType;
	/** 只有callbackType="forward"时需要forwardUrl值 */
	private String forwardUrl;
	/**
	 * 构造函数
	 */
	public DwzStatusBean(){
		
	}
	/**
	 * 构造函数
	 * @param statusCode
	 * @param message
	 * @param navTabId
	 * @param rel
	 * @param callbackType
	 * @param forwardUrl
	 */
	public DwzStatusBean(int statusCode, String message, String navTabId, String rel, String callbackType, String forwardUrl){
		this.statusCode = statusCode;
		this.message = message;
		this.navTabId = navTabId;
		this.rel = rel;
		this.callbackType = callbackType;
		this.forwardUrl = forwardUrl;
	}
	public int getStatusCode() {
		return statusCode;
	}
	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getNavTabId() {
		return navTabId;
	}
	public void setNavTabId(String navTabId) {
		this.navTabId = navTabId;
	}
	public String getRel() {
		return rel;
	}
	public void setRel(String rel) {
		this.rel = rel;
	}
	public String getCallbackType() {
		return callbackType;
	}
	public void setCallbackType(String callbackType) {
		this.callbackType = callbackType;
	}
	public String getForwardUrl() {
		return forwardUrl;
	}
	public void setForwardUrl(String forwardUrl) {
		this.forwardUrl = forwardUrl;
	}
	
}
